tableModel = new DefaultTableModel(null, new String[] {
"Name", "E-mail", "Bank Account" });
- //Maybe there is a better way to avoid interaction.
- //table.setEnabled(false);
table.setModel(tableModel);
JButton btnNewButton = new JButton("Confirm Addition");
am.removeOwnerAdditionRequests(table.getSelectedRow());
am.saveInstance();
} catch (RemoteException e1) {
- // TODO Auto-generated catch block
e1.printStackTrace();
}
am.removeOwnerAdditionRequests(table.getSelectedRow());
am.saveInstance();
} catch (RemoteException e) {
- // TODO Auto-generated catch block
e.printStackTrace();
}
((DefaultTableModel)table.getModel()).removeRow(table.getSelectedRow());
- accounts.remove(table.getSelectedRow());
}
}
});